package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.MarketMaintain;
import com.sc.nft.entity.vo.MarketMaintainUserVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
/**
 * 市值账号和后台关联(MarketMaintain)表数据库访问层
 *
 * @author 王伟成
 * @since 2023-10-07 16:23:30
 */
public interface MarketMaintainMapper extends BaseMapper<MarketMaintain> {


    List<MarketMaintainUserVO> marketMaintainUsers(@Param("adminId") Long adminId);


    @Select("select user_id from sc_market_maintain")
    List<Long> getAllMaintainUsers();
}
